# Create your models here.
from django.db import models
from django.contrib import admin

# Create your models here.
# class XmHouseHomePage(models.Model):
#     comment_id = models.TextField()
#     comment_content = models.TextField()
#     comment_date = models.TextField()
#
#     def __str__(self):
#         return self.comment_content

'''
用户评论
'''
class XmHouseUserComment(models.Model):
    comment_id = models.TextField()
    comment_content = models.TextField()
    comment_date = models.TextField()

    def __str__(self):
        return self.comment_content

'''
用户评论
'''
class XmHouseMediaNews(models.Model):
    news_id = models.TextField()
    news_content = models.TextField()
    news_date = models.TextField()

    def __str__(self):
        return self.news_content